3.2747 \(\int x^n \sqrt{a^2+x^{1+n}} \, dx\)

Optimal. Leaf size=22 \[ \frac{2 \left (a^2+x^{n+1}\right )^{3/2}}{3 (n+1)} \]

[Out]

(2*(a^2 + x^(1 + n))^(3/2))/(3*(1 + n))

_______________________________________________________________________________________

Rubi [A]  time = 0.0202642, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059 \[ \frac{2 \left (a^2+x^{n+1}\right )^{3/2}}{3 (n+1)} \]

Antiderivative was successfully verified.

[In]  Int[x^n*Sqrt[a^2 + x^(1 + n)],x]

[Out]

(2*(a^2 + x^(1 + n))^(3/2))/(3*(1 + n))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 2.16257, size = 17, normalized size = 0.77 \[ \frac{2 \left (a^{2} + x^{n + 1}\right )^{\frac{3}{2}}}{3 \left (n + 1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**n*(a**2+x**(1+n))**(1/2),x)

[Out]

2*(a**2 + x**(n + 1))**(3/2)/(3*(n + 1))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0218392, size = 22, normalized size = 1. \[ \frac{2 \left (a^2+x^{n+1}\right )^{3/2}}{3 (n+1)} \]

Antiderivative was successfully verified.

[In]  Integrate[x^n*Sqrt[a^2 + x^(1 + n)],x]

[Out]

(2*(a^2 + x^(1 + n))^(3/2))/(3*(1 + n))

_______________________________________________________________________________________

Maple [A]  time = 0.039, size = 19, normalized size = 0.9 \[{\frac{2}{3+3\,n} \left ({a}^{2}+x{x}^{n} \right ) ^{{\frac{3}{2}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^n*(a^2+x^(1+n))^(1/2),x)

[Out]

2/3*(a^2+x*x^n)^(3/2)/(1+n)

_______________________________________________________________________________________

Maxima [A]  time = 1.35033, size = 24, normalized size = 1.09 \[ \frac{2 \,{\left (a^{2} + x^{n + 1}\right )}^{\frac{3}{2}}}{3 \,{\left (n + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(a^2 + x^(n + 1))*x^n,x, algorithm="maxima")

[Out]

2/3*(a^2 + x^(n + 1))^(3/2)/(n + 1)

_______________________________________________________________________________________

Fricas [A]  time = 0.223003, size = 24, normalized size = 1.09 \[ \frac{2 \,{\left (a^{2} + x^{n + 1}\right )}^{\frac{3}{2}}}{3 \,{\left (n + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(a^2 + x^(n + 1))*x^n,x, algorithm="fricas")

[Out]

2/3*(a^2 + x^(n + 1))^(3/2)/(n + 1)

_______________________________________________________________________________________

Sympy [A]  time = 16.5236, size = 58, normalized size = 2.64 \[ \begin{cases} \frac{2 a^{2} \sqrt{a^{2} + x x^{n}}}{3 n + 3} + \frac{2 x x^{n} \sqrt{a^{2} + x x^{n}}}{3 n + 3} & \text{for}\: n \neq -1 \\\sqrt{a^{2} + 1} \log{\left (x \right )} & \text{otherwise} \end{cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**n*(a**2+x**(1+n))**(1/2),x)

[Out]

Piecewise((2*a**2*sqrt(a**2 + x*x**n)/(3*n + 3) + 2*x*x**n*sqrt(a**2 + x*x**n)/(
3*n + 3), Ne(n, -1)), (sqrt(a**2 + 1)*log(x), True))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.215144, size = 24, normalized size = 1.09 \[ \frac{2 \,{\left (a^{2} + x^{n + 1}\right )}^{\frac{3}{2}}}{3 \,{\left (n + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt(a^2 + x^(n + 1))*x^n,x, algorithm="giac")

[Out]

2/3*(a^2 + x^(n + 1))^(3/2)/(n + 1)